home *** CD-ROM | disk | FTP | other *** search
/ Explore Yellowstone / Explore Yellowstone (1997)(The Learning Company)[PC-Mac].iso / mac / ROSTER.DIR / 00011_Script_fr deleteAll < prev    next >
Text File  |  1996-02-29  |  902b  |  32 lines

  1. on exitFrame
  2.   global WhichChannel, WhichCast
  3.   
  4.   if rollOver(6) then
  5.     put 6 into WhichChannel
  6.     puppetsprite WhichChannel, true
  7.     put the castNum of sprite WhichChannel into WhichCast
  8.     set the castNum of sprite WhichChannel to (WhichCast + 1)
  9.     updateStage      
  10.     go to "deleteAllLoop"
  11.   end if 
  12.   
  13.   if rollOver(8) then
  14.     put 8 into WhichChannel
  15.     puppetsprite WhichChannel, true
  16.     put the castNum of sprite WhichChannel into WhichCast
  17.     set the castNum of sprite WhichChannel to (WhichCast + 1)
  18.     updateStage      
  19.     go to "deleteAllLoop"
  20.   end if 
  21.   
  22.   if rollOver(9) then
  23.     put 9 into WhichChannel
  24.     puppetsprite WhichChannel, true
  25.     put the castNum of sprite WhichChannel into WhichCast
  26.     set the castNum of sprite WhichChannel to (WhichCast + 1)
  27.     updateStage      
  28.     go to "deleteAllLoop"
  29.   end if 
  30.   
  31.   go to the frame
  32. end